﻿<UserControl x:Class="TakePhotoTogether.View.NewMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="800">

    <Grid x:Name="LayoutRoot">
        <Grid x:Name="LeftGrid" Width="350" Background="Black" Opacity="0" HorizontalAlignment="Left" Visibility="Collapsed" Tap="StackPanel_Tap">
        </Grid>

        <Grid Opacity="0.8" Background="Black" Width="450" HorizontalAlignment="Right">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="4*"/>
                <ColumnDefinition Width="10*"/>
            </Grid.ColumnDefinitions>

            <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center">
                <StackPanel Orientation="Vertical" HorizontalAlignment="Left" Margin="0,0,0,0" Height="40" Width="40" Tap="StackPanel_Tap">
                    <TextBlock Foreground="White"  FontSize="36" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" Width="30" d:LayoutRounding="Auto" Height="50.883" HorizontalAlignment="Right" Margin="0,0,4,0">
                        <TextBlock.RenderTransform>
                            <CompositeTransform Rotation="90"/>
                        </TextBlock.RenderTransform>
            		<Run Text="..."/>
                    </TextBlock>
                </StackPanel>
            </StackPanel>

            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                    <Image x:Name="imgFlash" Loaded="imgFlash_Loaded" Width="48" Height="48" Tap="Image_Tap_1"/>
                    <TextBlock  Foreground="White" Margin="10,0,0,0" VerticalAlignment="Center" FontSize="18">
                	    <Run  Text="Flash" FontSize="16"/>
                    </TextBlock>
                </StackPanel>
                <StackPanel Margin="0,100,0,0">
                </StackPanel>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                    <Image x:Name="imgFrontCamera" Loaded="imgFrontCamera_Loaded" Width="48" Height="48" Tap="Image_Tap"/>
                    <TextBlock Foreground="White" TextWrapping="Wrap" Width="72"  Margin="10,0,0,0" VerticalAlignment="Center" FontSize="16">Front camera</TextBlock>
                </StackPanel>
            </StackPanel>

            <StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Grid.Column="2" Margin="10">
                <StackPanel Orientation="Vertical" HorizontalAlignment="Left" Margin="20">
                    <TextBlock Foreground="White" FontSize="36" Margin="0,20,0,0">Disconnect</TextBlock>
                    <TextBlock Foreground="White" FontSize="36" Margin="0,20,0,0">Settings</TextBlock>
                    <TextBlock Foreground="White" FontSize="36" Margin="0,20,0,0">About</TextBlock>
                </StackPanel>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>